<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<table>
    <tr>
        <td>活动编号</td>
        <td>活动标题</td>
        <td>校区</td>
        <td>活动状态</td>
        <td>开始时间</td>
        <td>结束时间</td>
        <td>上线</td>
        <td>操作</td>
    </tr>

{% for item in school_data %}
    <tr>
        <td>{{ item.number }}</td>
        <td>{{ item.title }}</td>
        <td>{{ item.school.name }}</td>
        <td>{{ item.school.is_have }}</td>
        <td>{{ item.school.start_time }}</td>
        <td>{{ item.school.end_time }}
        <td>{{ item.school.is_on }}</td>
    <td>
        <a href="#">设置课程</a>
        <a href="#">编辑</a>
        <a href="/activicy/del/{{ item.school.id }}/">删除</a>
    </td>
    </tr>

{% endfor %}

</table>



</body>
</html>